home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2049 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.9 KB

  1. Path: ionews.ionet.net!usenet
  2. From: tconiam@ionet.net (Todd Coniam)
  3. Newsgroups: comp.object,comp.software-eng,comp.lang.c++
  4. Subject: Re: Moving from C to C++
  5. Date: 15 Jan 1996 08:25:48 GMT
  6. Organization: IONet
  7. Message-ID: <4dd32c$lgv@ionews.ionet.net>
  8. References: <4cs44p$3pk@ixnews8.ix.netcom.com> <4cucgo$4c0@myst.plaza.ds.adp.com> <4cvv03$1nb@miranda.gmrc.gecm.com>
  9. NNTP-Posting-Host: osip106.ionet.net
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <4cvv03$1nb@miranda.gmrc.gecm.com>, paul.johnson@gecm.com says...
  15. >
  16. >In article <4cucgo$4c0@myst.plaza.ds.adp.com>, timh@news says...
  17. >> One way to do this
  18. >>is to send your guys. . . not to C++ training, but to a Smalltalk class
  19. >>where they won't be tripped-up by what they already know about C, and where
  20. >>they are forced to work in a pure OO setting. 
  21. >
  22. >I'd second this, except to recommend Eiffel over Smalltalk.  Eiffel has
  23. >types for variables (like C++) whereas Smalltalk has types only for objects.
  24. >Eiffel also has a built-in language for defining the semantics of interfaces
  25. >as well as their syntax.  This emphasises the behaviour and encapsulation
  26. >provided by your classes, and so promotes good design from the beginning.
  27. >
  28. >In fact, after programming in Eiffel for a while, you might prefer it to
  29. >C++.  Either way, the design-level concepts in Eiffel are important to good
  30. >OO programming, and hence Eiffel is a good way to introduce structured coders
  31. >to OO thinking.
  32. >
  33. >BTW, don't assume that your training costs are proportional to the number of
  34. >languages: they are not.  The main cost (as others have noted) is going to 
  35. >be getting your programmers and designers thinking objects.  Learning syntax
  36. >is easy in comparison.  Anyway, both Eiffel and Smalltalk are MUCH simpler
  37. >than C++.
  38. >
  39. >Paul.
  40. >
  41. >-- 
  42. >Paul Johnson            | GEC-Marconi Ltd is not responsible for my opinions. 
  43. |
  44. >+44 1245 473331 ext 
  45. 2245+-----------+-----------------------------------------+
  46. >Work: <paul.johnson@gmrc.gecm.com>  | You are lost in a twisty maze of little
  47. >Home: <Paul@treetop.demon.co.uk>    | standards, all different.
  48. >
  49.  
  50. I would also suggest taking a look at Ada 95.  While I won't say it is better 
  51. then Eiffel or Smalltalk (I don't know them...) I can say it is better than
  52. C++ when it comes to long life code.  If your moving to OO and thinking of
  53. changing languages (not that C -> C++ is a big change) to take advantage of
  54. the OO features, look at Ada 95.  It has all the desireable features: 
  55. inheritance, classes, templates, exceptions, tasking, etc., plus it is an
  56. international standard and highly portable!  
  57.  
  58. Check out http://lglwww.epfl.ch/Ada/Ammo/Cplpl2Ada.html for information on
  59. the transition from C/C++ to Ada 95.
  60.  
  61. -- 
  62. Todd Coniam       | Member: Team Ada
  63. tconiam@ionet.net | Ada 95 - The only world standard in OO languages.
  64. Check Ada out at:  http://lglwww.efl.ch/Ada/
  65. Free compiler at:  http://www.gnat.com/
  66.  
  67.